CURVE_GRAPH

Description

This widget displays a graph corresponding to the associated curve.

Common Attributes

See attributes common to all curve widgets.

Specific Attributes
Name Value Type Default Value Description Comment V. Exp.

color

color

current text color

Color of the curve graph.


1.1

No

pen_style

pen style

solid

Style of the pen used to draw the graph.


1.1

No

graph_style

graph style

curve

Type of graph to display the curve.


1.1

No

anti_alias

boolean

true

use anti aliasing to draw the curve (smooth drawing).

When anti alias is used, the pen_style attribute has no effect (only solid antialiased graph is implemented)

1.2.3

1.3.5

sample_rate

real number

1

number of points of the curve drawn for each pixels.

This value is used only for real number curves and when the x_positions_count attribute is not set.

1.2.3

No

Examples
<?xml version="1.0" encoding="utf-8" ?>
<SKIN language_version="1.0" background_color="#000000" v_margin="10" h_margin="10">
   <CURVE_GRAPH curve_id="dsp.output_curve3" width="150" height="80" anti_alias="false" color="#00ff00"/>
</SKIN>
<?xml version="1.0" encoding="utf-8" ?>
<SKIN language_version="1.0" background_color="#000000" v_margin="10" h_margin="10">
   <CURVE_GRAPH curve_id="dsp.output_curve3" x_response_curve="exp3" width="150" height="80" anti_alias="false" color="#00ff00"/>
</SKIN>
<?xml version="1.0" encoding="utf-8" ?>
<SKIN language_version="1.0" background_color="#000000" v_margin="10" h_margin="10">
   <CURVE_GRAPH curve_id="dsp.output_curve3" x_response_curve="exp3" graph_style="bargraph" width="150"
      height="80" anti_alias="false" color="#00ff00" />
</SKIN>
<?xml version="1.0" encoding="utf-8" ?>
<SKIN language_version="1.0" background_color="#000000" v_margin="10" h_margin="10">
   <CURVE_GRAPH curve_id="dsp.output_curve3" x_response_curve="exp3" graph_style="bargraph" width="150" height="80" 
   anti_alias="false" color="#00ff00" x_positions_count="21"/>
</SKIN>